package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单状态处理日志对象 order_update_log
 * 
 * @author phil
 * @date 2020-05-31
 */
public class OrderUpdateLog extends BaseEntity{
	private static final long serialVersionUID = 1L;

	/** 日志Id */
	private Long logId;

	/** 订单id */
	@Excel(name = "订单id")
	private Long conOrderId;

	/** 修改的字段 */
	@Excel(name = "修改的字段")
	private String paramsName;

	/** 修改的字段代指业务意义 */
	@Excel(name = "修改的字段代指业务意义")
	private String paramsDesc;

	/** 操作之前的值 */
	@Excel(name = "操作之前的值")
	private String beforeValue;

	/** 操作之后的值 */
	@Excel(name = "操作之后的值")
	private String nowValue;

	/** 反馈意见 */
	@Excel(name = "反馈意见")
	private String suggestion;

	/** (0:自愿手动；1：自动进行） */
	@Excel(name = "(0:自愿手动；1：自动进行）")
	private String isAuto;

	/** 受理人id */
	@Excel(name = "受理人id")
	private Long changeUserId;

	/** 受理人（接单、拒绝、办结） */
	@Excel(name = "受理人", readConverterExp = "接=单、拒绝、办结")
	private String changeUserName;

	public void setLogId(Long logId){
		this.logId = logId;
	}

	public Long getLogId(){
		return logId;
	}

	public void setConOrderId(Long conOrderId){
		this.conOrderId = conOrderId;
	}

	public Long getConOrderId(){
		return conOrderId;
	}

	public void setParamsName(String params){
		this.paramsName = params;
	}

	public String getParamsName(){
		return paramsName;
	}

	public void setParamsDesc(String paramsDesc){
		this.paramsDesc = paramsDesc;
	}

	public String getParamsDesc(){
		return paramsDesc;
	}

	public void setBeforeValue(String beforeValue){
		this.beforeValue = beforeValue;
	}

	public String getBeforeValue(){
		return beforeValue;
	}

	public void setNowValue(String nowValue){
		this.nowValue = nowValue;
	}

	public String getNowValue(){
		return nowValue;
	}

	public void setSuggestion(String suggestion){
		this.suggestion = suggestion;
	}

	public String getSuggestion(){
		return suggestion;
	}

	public void setIsAuto(String isAuto){
		this.isAuto = isAuto;
	}

	public String getIsAuto(){
		return isAuto;
	}

	public void setChangeUserId(Long changeUserId){
		this.changeUserId = changeUserId;
	}

	public Long getChangeUserId(){
		return changeUserId;
	}

	public void setChangeUserName(String changeUserName){
		this.changeUserName = changeUserName;
	}

	public String getChangeUserName(){
		return changeUserName;
	}

	@Override
	public String toString(){
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("logId", getLogId()).append("conOrderId", getConOrderId()).append("params", getParams()).append("paramsDesc", getParamsDesc()).append("beforeValue", getBeforeValue())
				.append("nowValue", getNowValue()).append("suggestion", getSuggestion()).append("isAuto", getIsAuto()).append("changeUserId", getChangeUserId()).append("changeUserName", getChangeUserName()).append("createBy", getCreateBy())
				.append("createTime", getCreateTime()).toString();
	}
}
